<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.18"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>HElib: helib::zz_pXModulus1 Class Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
		<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;1,700&family=Merriweather&family=Merriweather+Sans&family=Open+Sans&family=Poppins:ital@1&family=Roboto:ital,wght@0,400;1,300;1,900&display=swap" rel="stylesheet"> 
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body style="font-family: 'Merriweather', serif;">
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">HElib Implementing Homomorphic Encryption</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacehelib.html">helib</a></li><li class="navelem"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html">zz_pXModulus1</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classhelib_1_1zz__p_x_modulus1-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">helib::zz_pXModulus1 Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Auxiliary classes to facilitate faster reduction mod Phi_m(X) when the input has degree less than m.  
 <a href="classhelib_1_1zz__p_x_modulus1.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_numb_th_8h_source.html">NumbTh.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abc224981ad47dbb515a3c67bc9df5b6d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#abc224981ad47dbb515a3c67bc9df5b6d">zz_pXModulus1</a> (long _m, const NTL::zz_pX &amp;_f)</td></tr>
<tr class="separator:abc224981ad47dbb515a3c67bc9df5b6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa98541b58ad4bf14d93a39f26958306"><td class="memItemLeft" align="right" valign="top">const NTL::zz_pXModulus &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#aaa98541b58ad4bf14d93a39f26958306">upcast</a> () const</td></tr>
<tr class="separator:aaa98541b58ad4bf14d93a39f26958306"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:afbc0769f9f9ae03d5970d805cff25ba0"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#afbc0769f9f9ae03d5970d805cff25ba0">m</a></td></tr>
<tr class="separator:afbc0769f9f9ae03d5970d805cff25ba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ab617dddbd62db564723dfa3592f9a5"><td class="memItemLeft" align="right" valign="top">NTL::zz_pX&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#a1ab617dddbd62db564723dfa3592f9a5">f</a></td></tr>
<tr class="separator:a1ab617dddbd62db564723dfa3592f9a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20d165e749cda8dee52593385ceea9dd"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#a20d165e749cda8dee52593385ceea9dd">n</a></td></tr>
<tr class="separator:a20d165e749cda8dee52593385ceea9dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee441b0c8f9e8bd527f8cd1f922d6ba4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#aee441b0c8f9e8bd527f8cd1f922d6ba4">specialLogic</a></td></tr>
<tr class="separator:aee441b0c8f9e8bd527f8cd1f922d6ba4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b71b83684859b17ba6f7e3f44dd89de"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#a7b71b83684859b17ba6f7e3f44dd89de">k</a></td></tr>
<tr class="separator:a7b71b83684859b17ba6f7e3f44dd89de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d69f30fd053f9f3a53d3ea38b86f785"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#a5d69f30fd053f9f3a53d3ea38b86f785">k1</a></td></tr>
<tr class="separator:a5d69f30fd053f9f3a53d3ea38b86f785"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5757a8341f74553212f25a5b6f137955"><td class="memItemLeft" align="right" valign="top">NTL::fftRep&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#a5757a8341f74553212f25a5b6f137955">R0</a></td></tr>
<tr class="separator:a5757a8341f74553212f25a5b6f137955"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58ebc5d435a04560bac26f228b38f2b9"><td class="memItemLeft" align="right" valign="top">NTL::fftRep&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#a58ebc5d435a04560bac26f228b38f2b9">R1</a></td></tr>
<tr class="separator:a58ebc5d435a04560bac26f228b38f2b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e1f9e97a7075c01d95b97a73b69195e"><td class="memItemLeft" align="right" valign="top">NTL::zz_pXModulus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1zz__p_x_modulus1.html#a3e1f9e97a7075c01d95b97a73b69195e">fm</a></td></tr>
<tr class="separator:a3e1f9e97a7075c01d95b97a73b69195e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Auxiliary classes to facilitate faster reduction mod Phi_m(X) when the input has degree less than m. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abc224981ad47dbb515a3c67bc9df5b6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc224981ad47dbb515a3c67bc9df5b6d">&#9670;&nbsp;</a></span>zz_pXModulus1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">helib::zz_pXModulus1::zz_pXModulus1 </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>_m</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const NTL::zz_pX &amp;&#160;</td>
          <td class="paramname"><em>_f</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aaa98541b58ad4bf14d93a39f26958306"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa98541b58ad4bf14d93a39f26958306">&#9670;&nbsp;</a></span>upcast()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const NTL::zz_pXModulus&amp; helib::zz_pXModulus1::upcast </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a1ab617dddbd62db564723dfa3592f9a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ab617dddbd62db564723dfa3592f9a5">&#9670;&nbsp;</a></span>f</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTL::zz_pX helib::zz_pXModulus1::f</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3e1f9e97a7075c01d95b97a73b69195e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e1f9e97a7075c01d95b97a73b69195e">&#9670;&nbsp;</a></span>fm</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTL::zz_pXModulus helib::zz_pXModulus1::fm</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7b71b83684859b17ba6f7e3f44dd89de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b71b83684859b17ba6f7e3f44dd89de">&#9670;&nbsp;</a></span>k</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long helib::zz_pXModulus1::k</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5d69f30fd053f9f3a53d3ea38b86f785"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d69f30fd053f9f3a53d3ea38b86f785">&#9670;&nbsp;</a></span>k1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long helib::zz_pXModulus1::k1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afbc0769f9f9ae03d5970d805cff25ba0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbc0769f9f9ae03d5970d805cff25ba0">&#9670;&nbsp;</a></span>m</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long helib::zz_pXModulus1::m</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a20d165e749cda8dee52593385ceea9dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20d165e749cda8dee52593385ceea9dd">&#9670;&nbsp;</a></span>n</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long helib::zz_pXModulus1::n</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5757a8341f74553212f25a5b6f137955"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5757a8341f74553212f25a5b6f137955">&#9670;&nbsp;</a></span>R0</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTL::fftRep helib::zz_pXModulus1::R0</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a58ebc5d435a04560bac26f228b38f2b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58ebc5d435a04560bac26f228b38f2b9">&#9670;&nbsp;</a></span>R1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTL::fftRep helib::zz_pXModulus1::R1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aee441b0c8f9e8bd527f8cd1f922d6ba4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee441b0c8f9e8bd527f8cd1f922d6ba4">&#9670;&nbsp;</a></span>specialLogic</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool helib::zz_pXModulus1::specialLogic</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/HElib/include/helib/<a class="el" href="_numb_th_8h_source.html">NumbTh.h</a></li>
<li>/HElib/src/<a class="el" href="_numb_th_8cpp.html">NumbTh.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
        <script type="text/javascript" src="doxy-boot.js"></script>
</html>
